<?php

return array(
//应用名称
'appName'=>'Dream FrameWork',
//db config
'db' => array(
    'mysql' => array(
        'host' => 'localhost',
        'user' => 'root',
        'password' => 'meng0526',
        'dbname' => 'dreamframework',
        'port' => 3306
    ),
    'mongo'=>array(
        'server'=> 'mongodb://localhost:27017',
        'params' => array(),
        'dbname' => 'test'
    ),
),

//autoload path
'includePath' => array(
    'system.config.*',
    'system.class.*',
    'system.class.db.*',
    'system.class.generator.*',
    'system.class.generator.template.*',
    'model.*',
    'command.*'
),

'base' => array(
    'system' => BASE_PATH.'/system',
    'root' => BASE_PATH,
    'baseUrl' => BASE_URL,
    'script'=> BASE_URL.'/script',
    'style'=> BASE_URL.'/style',
    'image'=> BASE_URL.'/image'
),

//default
'default'=> array(
    'controller' => 'site',
    'action' => 'index',
),
'debug' => array(
    'switch' => 0
),

'route' => array()
);
